﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Yun.Interface;
using Yun.Response;
using Yun.Util;

namespace Yun.IM.Request
{
    /// <summary>
    /// 添加删除聊天记录信息
    /// yun.im.rongcloud.delrealtime.add
    /// </summary>
    public class AddDelRealTimeRequest : ITopRequest<IntResultResponse>
    {
        /// <summary>
        /// 消息唯一标识
        /// </summary>
        public string MessageUId { get; set; }

        public void Validate()
        {
            RequestValidator.ValidateRequired("messageuid", MessageUId);
        }

        public string GetApiName()
        {
            return "yun.im.rongcloud.delrealtime.add";
        }

        public IDictionary<string, string> GetParameters()
        {
            var parameters = new YunDictionary
            {
                {"messageuid", MessageUId}
            };

            return parameters;
        }


    }
}
